<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'addReader.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  	<a href="menu/admin_menu.jsp"><h2>点击返回导航页</h2></a>
  		<center>
  		<h1>录入读者信息</h1>
		    <form action="addReader!addReader" method="post">
		    	<table border="1"  border="0" cellpadding="3" cellspacing="1" style="margin-bottom:8px;margin-top:8px;">
		    		<tr>
		    			<th>读者姓名</th>
		    			<th>联系电话</th>
		    			<th>性别</th>
		    		</tr>
		    		
		    		<tr>
		    			<td><input type="text" name="reader.readerName" /></td>
		    			<td><input type="text" name="reader.telephone" /></td>
		    			<td><input type="text" name="reader.sex" /></td>
		    		</tr>
		    	
		    	</table>
		    	<input  type="submit" value="提交"/>
				<input type="reset" value="取消"/>
		    </form>
		 </center>
  </body>
</html>
